/*
 * @Author: wuzhouhai wzh200x@126.com
 * @Date: 2024-03-28 16:26:33
 * @LastEditors: wuzhouhai wzh200x@126.com
 * @LastEditTime: 2025-03-14 15:54:29
 * @FilePath: \dwys_web\extensions\phoenix-plugin-client\assets\core\interface\platform.interface.ts
 * @Description: 
 */
export interface IPlatform
{
    login(cb:Function):Promise<number|string | boolean>;
    request(method:string, url:string, data:any, token?:string): Promise<any>;
    setBaseUrl(url:string):any;
    setRequestTimeOut(timeout: number):any;
    needThirdPlatformLogin():boolean;
    setAppId(appid:string):void;
}